<template>
<view 
    :params="{ token, tenantId, api }"
    :change:params="uploadModule.params">
	121221
</view>
</template>

<script>
import cache from '@/utils/cache';
export default {
  data() {
    return {
      token: '',
      tenantId: '',
      api: '/oss/sysOss/upload',
    };
  },
  methods: {
    
  },
  mounted() {
    this.token = cache.get('token');
    this.tenantId = cache.get('tenantId');
  },
};
</script>
<script module="uploadModule" lang="renderjs">
import { NativeEventSource, EventSourcePolyfill } from 'event-source-polyfill';
let sseEventSource = NativeEventSource || EventSourcePolyfill;
if (sseEventSource !== null) sseEventSource.close && sseEventSource.close();
export default {
	data(){
		return {
			token: '',
			tenantId: '',
			api: ''
		}
	},
	mounted() {
		
	},
	methods: {
	  
	}
}
</script>
<style>

</style>
